<template>
    <div id="app" class="haha">
        <div class="foot">
            <input >
            <button @click="send">发送</button>
        </div>
    </div>
</template>
<script>
export default {
    data(){
        return {

        }
    },
    methods:{
        send() {
            alert(2222)
        }
    }
}
</script>
<style lang="scss" scoped>
.haha {
    position: relative;
    height: 100%;
    background-color: greenyellow;
    .foot {
        background-color: yellow;
        position: absolute;
        bottom: 0px;
    }
}
</style>
